package enumeration;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResponseStatusCode {
/*
* 响应过程中可能会出现的情况
* */
    SUCCESS(200,"请求调用成功"),
    FAILURE(400,"请求调用失败"),
    SERVICE_NOT_FOUND(500,"未找到指定服务"),
    METHOD_NOT_FOUND(500,"未找到指定方法"),
    CLASS_NOT_FOUND(500,"未找到指定实现类");

    private Integer code;
    private String message;
}
